package com.yuwubao.uav.tool.mapper;

import com.yuwubao.framework.bean.PageData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface ProfessorMapper {

    void addProfessorResearchFieldRelation(PageData pageData) throws Exception;
    void deleteProfessorResearchFieldRelation(PageData pageData) throws Exception;

    void deleteProfessor(PageData pageData) throws Exception;
    void updateProfessor(PageData pageData) throws Exception;
    void disableOrEnableProfessor(PageData pageData) throws Exception;
    void addProfessor(PageData pageData) throws Exception;
    List<PageData> listProfessor(PageData pageData) throws Exception;
    List<PageData> listProfessorResearchField(PageData pageData) throws Exception;
    int listProfessorCount(PageData pageData) throws Exception;

    void deleteResearchField(PageData pageData) throws Exception;
    void updateResearchField(PageData pageData) throws Exception;
    void disableOrEnableResearchField(PageData pageData) throws Exception;
    void addResearchField(PageData pageData) throws Exception;
    List<PageData> listResearchField(PageData pageData) throws Exception;
    List<PageData> listResearchFieldAll(PageData pageData) throws Exception;
    int listResearchFieldCount(PageData pageData) throws Exception;

    int getResearchFieldByName(PageData pageData) throws Exception;


}
